package com.member.shop.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.member.common.annotation.Excel;
import com.member.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 商品分类对象 sys_biz_shop_category
 *
 * @author lixinchen
 * @date 2024-12-28
 */
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_biz_shop_category")
public class SysBizShopCategory extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 分类名称
     */
    @Excel(name = "分类名称")
    private String categoryName;

    /**
     * 父类id
     */
    @Excel(name = "父类id")
    private Long parentId;

    /**
     * 排序值
     */
    @Excel(name = "排序值")
    private Long orderNum;

    /**
     * 是否显示(0:显示,1:不显示)
     */
    @Excel(name = "是否显示(0:显示,1:不显示)")
    private Long displayed;

    /**
     * 分类图片
     */
    @Excel(name = "分类图片")
    private String categoryPic;

    /**
     * 是否删除(0：未删除，1：删除)
     */
    @Excel(name = "是否删除(0：未删除，1：删除)")
    private Long deleted;

}
